<!-- 单位发布职位 -->
<template>
  <div class="postPostion" v-loading.fullscreen.lock="isLoading" element-loading-text="加载中">
    <div class="page flex-col">
      <div class="box_1 flex-row">
        <div class="banner">
          <!-- 头部 -->
          <el-header></el-header>
          <div class="box_2 flex-col">
            <div class="group_1 flex-row justify-between">
              <div class="box_3 flex-col">
                <div class="text-wrapper_2 flex-col" @click="enterprisePosition">
                  <img class="label_4" referrerpolicy="no-referrer" src="../../assets/images/recruitmentData/2.png" />
                  <span class="text_9">职位</span>
                </div>
				<div class="text-wrapper_1 flex-col" @click="toeditinfo">
					<img class="thumbnail_2" referrerpolicy="no-referrer"
						src="../../assets/images/enterpriseIndex/zpzy.png" />
					<span class="text_8">招聘主页</span>
				</div>
              </div>
              <div class="box_4 flex-col">
                <!-- 职位发布 -->
                <div class="tit">
                  <h5>职位发布</h5>

                </div>
                <!-- 发布前 -->
                <div class="group_10 flex-row">
                  <img class="thumbnail_4" referrerpolicy="no-referrer"
                    src="../../assets/images/recruitmentData/thumbnail4.png" />
                  <span class="text_13">职位发布前，请先阅读<span class="rule" @click="rule">《职位发布规则》</span></span>
                </div>
                <!-- 职位信息 -->
                <div class="positioninfo">
                  <h5>职位信息</h5>
                  <el-form :model="ruleForm" :rules="rules" ref="ruleForm" class="demo-ruleForm">
                    <el-form-item label="职位名称" prop="jobtitle">
                      <el-input v-model="ruleForm.jobtitle" placeholder="请输入规范的职位名称，如：产品经理"></el-input>
                    </el-form-item>
                    <el-form-item label="职位性质" prop="worktypename">
                      <el-select v-model="ruleForm.worktypename" placeholder="请选择">
                        <el-option :label="item.name" :value="item.id" v-for="(item, index) in list1"
                          :key="index"></el-option>
                      </el-select>
                    </el-form-item>
                    <el-form-item label="职位类别" prop="classes_id">
                      <el-cascader v-model="ruleForm.classes_id" :options="list2"
                        :props="{ label: 'title', value: 'class_id' }">
                      </el-cascader>
                    </el-form-item>
                    <el-form-item label="工作地址" required>
                      <el-form-item prop="work_place">
                        <el-cascader :options="options" :props="areaProps" v-model="ruleForm.work_place"
                          placeholder="请选择地址"></el-cascader>
                      </el-form-item>

                    </el-form-item>




                    <el-form-item label="薪资待遇" required class="fund" style="height: 40px;">
                      <el-col :span="11">
                        <el-form-item prop="min_money">
                          <el-input v-model="ruleForm.min_money" placeholder="最低薪资"></el-input>/&nbsp;k
                        </el-form-item>
                      </el-col>
                      <el-col class="line" :span="4">-</el-col>
                      <el-col :span="11">
                        <el-form-item prop="money">
                          <el-input v-model="ruleForm.money" placeholder="最高薪资"></el-input>/&nbsp;k
                        </el-form-item>
                      </el-col>
                    </el-form-item>
                    <!-- 显示面议 -->
                    <el-form-item label="招聘人数" prop="num" class="peoplenumber">
                      <el-input type="number" v-model="ruleForm.num" placeholder="请输入"></el-input>
                    </el-form-item>
                    <el-form-item label="学历要求" prop="education">
                      <el-select v-model="ruleForm.education" placeholder="请选择">
                        <el-option :label="item.name" :value="item.id" v-for="(item, index) in list3"
                          :key="index"></el-option>
                      </el-select>
                    </el-form-item>
                    <el-form-item label="经验要求" prop="express">
                      <el-select v-model="ruleForm.express" placeholder="请选择">
                        <el-option :label="item.name" :value="item.id" v-for="(item, index) in list4"
                          :key="index"></el-option>
                      </el-select>
                    </el-form-item>
                    <el-form-item label="专业要求" prop="profession_id">
                      <el-select v-model="ruleForm.profession_id" placeholder="请选择">
                        <el-option :label="item.title" :value="item.profession_id" v-for="(item, index) in list5"
                          :key="index"></el-option>
                      </el-select>
                    </el-form-item>
                    <el-form-item label="行业要求" prop="industry_id">
                      <el-select v-model="ruleForm.industry_id" placeholder="请选择">
                        <el-option :label="item.title" :value="item.industry_id" v-for="(item, index) in list6"
                          :key="index"></el-option>
                      </el-select>
                    </el-form-item>
                    <el-form-item label="报名时间" required>
                      <el-col :span="11">
                        <el-form-item prop="begin_time">
                          <el-date-picker type="date" placeholder="开始日期" v-model="ruleForm.begin_time"
                            format="yyyy年MM月dd日" value-format="yyyy-MM-dd"
                            ></el-date-picker>
                        </el-form-item>
                      </el-col>
                      <el-col :span="2">-</el-col>
                      <el-col :span="11">
                        <el-form-item prop="end_time">
                          <el-date-picker type="date" placeholder="结束日期" v-model="ruleForm.end_time"
                            format="yyyy年MM月dd日" value-format="yyyy-MM-dd"
                            ></el-date-picker>
                        </el-form-item>
                      </el-col>
                    </el-form-item>
                    <el-form-item label="职位描述" prop="content">
                      <el-input type="textarea" v-model="ruleForm.content" placeholder="请输入职责描述、任职要求等条件及其他补充说明,不少于十个字"
                        resize="none">
                      </el-input>
                    </el-form-item>
                    <el-form-item label="招聘类型" prop="recruit_type">
                      <el-radio-group v-model="ruleForm.recruit_type">
                        <el-radio label="1">自招</el-radio>
                        <el-radio label="2">代招</el-radio>
                      </el-radio-group>
                    </el-form-item>
                    <el-form-item label="急招岗位" prop="jzgw">
                      <el-radio-group v-model="ruleForm.jzgw">
                        <el-radio label="1">否</el-radio>
                        <el-radio label="2">是</el-radio>
                      </el-radio-group>
                    </el-form-item>
                    <el-form-item>
                      <div class="image-text_4a">
                        <input class="box_8a flex-col" type="checkbox" @click="checkPrivacy" :checked="checkFlag" />
                        <span class="text-group_4a">我已阅读并遵守<span class="rule" @click="rule">《职位发布规则》</span></span>
                      </div>
                      <el-button class="release" @click="onSubmit('ruleForm')">发布</el-button>
                      <!-- <button class="draft">存草稿</button> -->
                    </el-form-item>
                  </el-form>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="alert" v-if="alertshow">
      <div class="alertbox">
        <div class="title">职位发布协议</div>
        <div class="line1"></div>
        <div class="content" v-html="zp_agreement.content" ref="scrollView1" @scroll="handleScroll"></div>
        <div class="line2"></div>
        <el-button class="confirm" :class="{ 'red': isBottom, 'is-disabled': !isBottom }" :disabled="!isBottom"
          @click="confirm">确认</el-button>
      </div>
    </div>
  </div>
</template>

<script>
// import "../../assets/css/postPosition.css";
import elHeader from "../../common/elHeader.vue";
//级联选择器 各 regionData省市区
import { regionData } from 'element-china-area-data'

export default {
  data() {
    var checkEndDate = (rule, value, callback) => {
      if (!value) {
        return callback(new Error('请选择结束日期'));
      }
      if (value <= this.ruleForm.begin_time) {
        return callback(new Error('结束日期不能在开始日期前'));
      }
      callback();
    };
    return {
      pickerOptions: {
        disabledDate(time) {
          return time.getTime() > Date.now();
        },
      },
      // input: '',
      list1: [],
      list2: [],
      list3: [],
      list4: [],
      list5: [],
      list6: [],
      ruleForm: {
        jobtitle: "",
        worktypename: "",
        classes_id: "",
        work_place: "",
        min_money: "",
        money: "",
        num: "",
        education: "",
        express: "",
        profession_id: "",
        industry_id: "",
        begin_time: "",
        end_time: "",
        content: "",
        recruit_type: "",
        jzgw: "",
      },
      rules: {
        jobtitle: [
          {
            required: true,
            message: "请输入职位名称",
            trigger: "blur",
          },
        ],
        worktypename: [
          {
            required: true,
            message: "请选择职位性质",
            trigger: "change",
          },
        ],
        classes_id: [
          {
            required: true,
            message: "请选择职位类别",
            trigger: "change",
          },
        ],
        work_place: [
          {
            required: true,
            message: "请选择工作地址",
            trigger: "change",
          },
        ],
        min_money: [
          {
            required: true,
            message: "请输入最低薪资",
            trigger: "blur",
          },
        ],
        money: [
          {
            required: true,
            message: "请输入最高薪资",
            trigger: "blur",
          },
        ],
        num: [
          {
            required: true,
            message: "请输入人数",
            trigger: "blur",
          },
        ],
        education: [
          {
            required: true,
            message: "请选择学历要求",
            trigger: "change",
          },
        ],
        express: [
          {
            required: true,
            message: "请选择经验要求",
            trigger: "change",
          },
        ],
        profession_id: [
          {
            required: true,
            message: "请选择专业要求",
            trigger: "change",
          },
        ],
        industry_id: [
          {
            required: true,
            message: "请选择行业要求",
            trigger: "change",
          },
        ],
        begin_time: [
          { required: true, message: '请选择时间', trigger: 'change' }
        ],
        // end_time: [
        //   { required: true, message: '请选择时间', trigger: 'change' }
        // ],
        end_time: [
          { validator: checkEndDate, trigger: 'change' }
        ],
        content: [
          { required: true, message: "请输入职位描述", trigger: "blur" },
          { min: 10, message: "不能少于 10 个字符", trigger: "blur" },
        ],
        recruit_type: [
          {
            required: true,
            message: "请选择招聘类型",
            trigger: "change",
          },
        ],
        jzgw: [
          {
            required: true,
            message: "请选择是否为急招岗位",
            trigger: "change",
          },
        ],
      },
      zp_agreement: [],
      alertshow: false,
      isBottom: false, // 用来追踪是否滚动到底部的标志  
      checkFlag: false, //check选中
      areaProps: {
        value: "label",
        label: "label"
      },
      options: regionData,//级联选择器
      isLoading: false
    };
  },
  mounted() {
    this.getInfoAll()
  },
  methods: {
    talentLibrary() {
      this.$router.push("/talentLibrary")
    },
    checkPrivacy() {
      this.checkFlag = !this.checkFlag;
      console.log(this.checkFlag);
    },
    handleScroll() {
      const scrollView = this.$refs.scrollView1;
      if (scrollView.scrollHeight - scrollView.scrollTop - scrollView.clientHeight <= 10) {
        this.isBottom = true;
      } else {
        this.isBottom = false;
      }
    },
    async rule() {
      this.alertshow = true;
      const res = await this.$service.post({
        url: "/api/zp/v1/zp_agreement",
        data: {
          type: "3",
        },
      });
      console.log(res);
      if (res.code == 1) {
        this.zp_agreement = res.info;
      }
      if (res.code != -1 && res.code != 1) {
        this.$message(res.msg);
      }
    },
    confirm() {
      this.alertshow = false;
    },
    getInfoAll() {
      this.$service.get({
        url: '/api/zp/v1/zpapp_comp_ee', //学历经验
      }).then(res => {
        console.log(res, '学历经验')
        this.list3 = res.info.education
        this.list4 = res.info.express
      })
      this.$service.get({
        url: '/api/zp/v1/zpapp_comp_jt', //职位性质
      }).then(res => {
        console.log(res, '职位性质')
        this.list1 = res.info.job_type
      })
      this.$service.get({
        url: '/api/zp/v1/zpapp_position', //职位类别
      }).then(res => {
        console.log(res, '职位类别')
        this.list2 = res.info.map(item => {
          return {
            class_id: item.type_id,
            title: item.name,
            children: item.children
          }
        })
      })
      this.$service.get({
        url: '/api/zp/v1/zpapp_industry_profession', //专业行业
      }).then(res => {
        console.log(res, '专业行业')
        this.list5 = res.info.profession
        this.list6 = res.info.industry
      })
    },
    enterpriseIndex() {
      this.$router.push("/enterpriseIndex");
    },
    enterprisePosition() {
      this.$router.push("/enterprisePosition");
    },
	toeditinfo() {
		this.$router.push("/editInfo")
	},
	
    onSubmit(formName) {

      this.$refs[formName].validate((valid) => {
        if (valid && this.checkFlag == true) {
          console.log(this.ruleForm.classes_id[1])
          this.submitJob()
        } else {
          console.log('error submit!!');
          if (this.checkFlag == false) {
            this.$message('请阅读并同意《职位发布规则》');
          }
          return false;
        }
      });
    },
    submitJob() {
      // 验证薪资  
      const minSalaryNum = parseFloat(this.ruleForm.min_money);
      const maxSalaryNum = parseFloat(this.ruleForm.money);
      if (isNaN(minSalaryNum) || isNaN(maxSalaryNum) || minSalaryNum > maxSalaryNum) {
        this.$message('最低薪资不可高于最高薪资');
        return;
      }

      this.$service.post({
        url: '/api/zp/v1/zpapp_comp_release_job', //专业行业
        data: {
          ...this.ruleForm,
          work_place: this.ruleForm.work_place.join(','),
          classes_id: this.ruleForm.classes_id[1]
        }
      }).then(res => {
        // this.isLoading = false
        console.log(res, '提交')
        this.$message(res.msg)
        if (res.code == 1) {
          this.enterprisePosition()
        }
      })
    }
  },
  components: {
    elHeader,
  },
};
</script>

<style scoped>
.el-col-2 {
  position: relative;
  left: 40px;
}

.red {
  background-color: red;
  color: white;
}

.is-disabled {
  opacity: 0.5;
}

button.confirm {
  width: 66px !important;
  height: 30px !important;
  background: #d00 !important;
  position: relative !important;
  font-size: 16px !important;
  border: none !important;
  color: #fff !important;
  /* position: relative !important; */
  /* top: 11px !important;
  left: 440px !important; */
  margin-top: 20px;
  margin-left: 85%;
}

.alert {
  background-color: rgba(0, 0, 0, 0.45);
  bottom: 0;
  height: 100%;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
}

.alert .title {
  height: 55px;
  word-wrap: break-word;
  color: rgba(0, 0, 0, 0.85);
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  display: block;
  padding: 0 24px;
  box-sizing: border-box;
  line-height: 55px;
  border: none;
}

.alert .alertbox {
  width: 520px;
  /* height: 850px; */
  height: 80%;
  margin: 50px 0;
  background-color: #fff;
  border-radius: 2px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 20px;
  box-sizing: border-box;
}

.alert .alertbox .content {
  width: 500px;
  height: 77%;
  background-color: #fff;
  overflow: auto;
  padding: 24px 0 24px 24px;
  box-sizing: border-box;
  overflow-x: hidden;
}

::v-deep .alert .alertbox .content * {
  background-color: #fff;
}

.alert .alertbox .line1 {
  width: 520px;
  height: 1px;
  background-color: #f3f3f3;
  margin-bottom: 20px;
}

.alert .alertbox .line2 {
  width: 520px;
  height: 1px;
  background-color: #f3f3f3;
  margin-top: 20px;
}

::v-deep .alertbox .el-button {
  width: 66px;
  height: 30px;
  padding: 0;
  background: #f5f5f5;
  border-color: #d9d9d9;
  line-height: 30px;
  /* position: relative;
  top: 11px;
  left: 440px; */
}

.rule {
  color: #496cb3;
}

:deep(*) {
  list-style: none;
  background-color: transparent;
}

:deep(.page) {
  position: relative;
  height: 1778px;
  overflow: hidden;
  background: #f3f3f3;
}

:deep(.box_1) {
  background-color: rgba(255, 255, 255, 1);
  height: 117px;
}

:deep(.el-select-dropdown__item) {
  background: #fff !important;
}

:deep(.banner) {
  width: 1200px;
  height: 1474px;
  margin: 0 auto;
}

:deep(.header) {
  height: 117px;
  display: flex;
}

.header span {
  background-color: #fff;
}

.image_1 {
  width: 221px;
  height: 51px;
  margin-top: 31px;
  background-color: #fff;
  margin-right: 589px;
}

.text_1 {
  width: 32px;
  height: 24px;
  overflow-wrap: break-word;
  color: rgba(0, 0, 0, 1);
  font-size: 16px;
  font-family: PingFangSC-Regular;
  font-weight: normal;
  text-align: right;
  white-space: nowrap;
  line-height: 24px;
  background-color: #fff;
}

.text_2 {
  width: 64px;
  height: 24px;
  overflow-wrap: break-word;
  color: rgba(0, 0, 0, 1);
  font-size: 16px;
  font-family: PingFangSC-Regular;
  font-weight: normal;
  text-align: right;
  white-space: nowrap;
  line-height: 24px;
}

.download img,
.message img {
  width: 23px;
  margin-right: 10px;
  background: #fff;
  position: relative;
  top: 5px;
}

.download,
.message {
  width: 97px;
  height: 117px;
  padding-top: 43px;
  box-sizing: border-box;
  background: #fff;
}

.message {
  margin-left: 44px;
}

.headsculpture {
  background: #fff;
}

.text_3 {
  width: 64px;
  height: 24px;
  overflow-wrap: break-word;
  color: rgba(0, 0, 0, 1);
  font-size: 16px;
  font-family: PingFangSC-Regular;
  font-weight: normal;
  text-align: right;
  white-space: nowrap;
  line-height: 24px;
  margin: 49px 0 0 74px;
}

.text_4 {
  width: 64px;
  height: 24px;
  overflow-wrap: break-word;
  color: rgba(0, 0, 0, 1);
  font-size: 16px;
  font-family: PingFangSC-Regular;
  font-weight: normal;
  text-align: right;
  white-space: nowrap;
  line-height: 24px;
  margin: 49px 0 0 80px;
}

.text_5 {
  width: 153px;
  height: 24px;
  overflow-wrap: break-word;
  color: rgba(217, 4, 3, 1);
  font-size: 16px;
  font-family: PingFangSC-Regular;
  font-weight: normal;
  text-align: right;
  white-space: nowrap;
  line-height: 24px;
  margin: 49px 0 0 83px;
}

.image_2 {
  width: 54px;
  height: 54px;
  margin: 36px 0 0 40px;
  background-color: #fff;
}

.text_6 {
  width: 32px;
  height: 24px;
  overflow-wrap: break-word;
  color: rgba(0, 0, 0, 1);
  font-size: 16px;
  font-family: PingFangSC-Regular;
  font-weight: normal;
  text-align: right;
  white-space: nowrap;
  line-height: 24px;
  margin: 51px 0 0 10px;
  position: relative;
  top: -22px;
}

.group_1 {
  width: 1204px;
  height: 1048px;
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
}

.box_3 {
  background-color: rgba(255, 255, 255, 1);
  width: 280px;
  height: 510px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
}

.box_3 img {
  background-color: #fff;
}

.text_7 {
  width: 280px;
  height: 24px;
  overflow-wrap: break-word;
  color: rgba(0, 0, 0, 1);
  font-size: 20px;
  font-family: PingFangSC-Semibold;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
  line-height: 24px;
  background: #fff;
  display: flex;
  justify-content: center;
  margin-top: 27px;
}

.text-wrapper_1 {
  height: 56px;
  background: url(../../assets/images/recruitmentData/bg.png) 100% no-repeat;
  background-size: 100% 100%;
  width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text_8 {
  width: 64px;
  height: 24px;
  overflow-wrap: break-word;
  color: rgba(0, 0, 0, 1);
  font-size: 16px;
  font-family: PingFangSC-Semibold;
  font-weight: 600;
  white-space: nowrap;
  line-height: 24px;
  margin-left: 26px;
  background-color: #fff;
}

.text-wrapper_2 {
  height: 56px;
  background: rgb(252, 247, 247);
  background-size: 100% 100%;
  width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text_9 {
  width: 64px;
  height: 24px;
  overflow-wrap: break-word;
  color: rgba(244, 0, 19, 1);
  font-size: 16px;
  font-family: PingFangSC-Semibold;
  font-weight: 600;
  white-space: nowrap;
  line-height: 24px;
  background-color: #fcf7f7;
  margin-left: 26px;
}

.box_4 {
  width: 892px;
  height: 1500px;
}

.tit {
  width: 892px;
  height: 72px;
  background: #ffffff;
  margin-bottom: 21px;
  display: flex;
  align-items: center;
  padding-left: 40px;
  box-sizing: border-box;
  justify-content: space-between;
}

.tit button {
  width: 150px;
  height: 38px;
  border-radius: 4px;
  border: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  border: 1px solid #d83524;
}

.tit .thumbnail_3 {
  width: 20px;
  height: 20px;
}

.text_12 {
  display: inline-block;
  width: 64px;
  height: 20px;
  overflow-wrap: break-word;
  color: rgba(216, 53, 36, 1);
  font-size: 16px;
  font-family: PingFangSC-Semibold;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  margin-left: 11px;
}

.tit h5 {
  width: 64px;
  height: 22px;
  font-size: 16px;
  font-family: PingFangSC, PingFang SC;
  font-weight: 600;
  color: #121212;
  line-height: 22px;
}

.group_10 {
  background-color: rgba(252, 247, 247, 1);
  width: 892px;
  height: 45px;
  margin-top: 10px;
}

.thumbnail_4 {
  width: 18px;
  height: 18px;
  margin: 14px 0 0 30px;
}

.text_13 {
  width: 288px;
  height: 22px;
  overflow-wrap: break-word;
  color: rgba(0, 0, 0, 1);
  font-size: 16px;
  font-family: PingFangSC-Regular;
  font-weight: normal;
  text-align: left;
  white-space: nowrap;
  line-height: 22px;
  margin: 12px 544px 0 12px;
}

.positioninfo {
  background-color: #fff;
  padding: 30px 128px 128px 30px;
  box-sizing: border-box;
}

.positioninfo h5 {
  width: 72px;
  height: 25px;
  font-size: 18px;
  font-family: PingFangSC, PingFang SC;
  font-weight: 600;
  color: #121212;
  line-height: 25px;
  margin-bottom: 20px;
}

:deep(.el-form-item__content) {
  display: flex;
}

:deep(.el-form-item) {
  margin-bottom: 19px;
}

:deep(.el-input__inner) {
  width: 628px;
  height: 36px;
}

:deep(.thumbnail_right) {
  width: 8px;
  height: 11px;
}

:deep(.el-radio-group) {
  height: 30px;
  margin-top: 12px;
}

:deep(.el-radio__label) {
  width: 82px;
  height: 36px;
  border-radius: 4px;
  padding: 0;
  margin: 10px;
}

:deep(.thumbnail_right) {
  position: relative;
  left: -40px;
  top: 14px;
}

:deep(.el-input--prefix .el-input__inner) {
  width: 166px;
}

:deep(.fund .el-input__inner) {
  /* width: 166px; */
  width: 135px;
}

:deep(.el-col-11) {
  width: 137px;
}

.line {
  position: relative;
  left: 10px;
  /* left: 40px; */
  width: 30px;
}

.mmonth1 {
  z-index: 1;
  position: relative;
  left: -375px;
}

.mmonth2 {
  position: relative;
  left: -242px;
}

.mmonth3 {
  position: relative;
  left: -105px;
}

.show .el-checkbox {
  position: absolute;
  top: -59px;
  left: 595px;
}

.check .el-checkbox {
  position: absolute;
  top: -59px;
  left: 248px;
}

.peoplenumber .el-input__inner {
  width: 135px;
}

.people {
  position: absolute;
  left: 112px;
}

.experience .el-input__inner {
  width: 423px;
}

.experience .thumbnail_right {
  left: -245px;
}

.student .el-checkbox {
  position: absolute;
  top: -59px;
  left: 580px;
}

:deep(.el-textarea__inner) {
  width: 628px;
  height: 262px;
  padding-top: 10px;
  box-sizing: border-box;
}

.setup {
  width: 892px;
  height: 368px;
  background-color: #fff;
  margin-top: 10px;
  padding: 25px 0 0 30px;
  box-sizing: border-box;
}

.setup h5 {
  width: 72px;
  height: 25px;
  font-size: 18px;
  font-family: PingFangSC, PingFang SC;
  font-weight: 600;
  color: #121212;
  line-height: 25px;
  margin-bottom: 20px;
}

.start .el-input__inner {
  width: 304px;
  height: 45px;
  padding-left: 15px;
}

.end {
  margin-left: 190px;
}

.belong .thumbnail_right {
  left: -165px;
}

.contact img {
  margin-right: 14px;
}

.contact span {
  height: 54px;
  color: rgba(0, 0, 0, 1);
  font-size: 16px;
  display: flex;
  align-items: center;
  margin-right: 28px;
}

.contact span.change {
  color: #ff2424;
}

.read {
  width: 808px;
  height: 90px;
  border-top: 1px solid #f8f4f4;
  display: flex;
  align-items: end;
}

.release {
  border: none;
  margin-top: 65px;
  width: 239px;
  height: 48px;
  background: #d81d06;
  border-radius: 4px;
  font-size: 16px;
  font-family: PingFangSC, PingFang SC;
  font-weight: 600;
  color: #ffffff;
  line-height: 16px;
}

.draft {
  border: none;
  margin-top: 30px;
  margin-left: 20px;
  width: 239px;
  height: 48px;
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid #cdcdcd;
  font-size: 16px;
  font-family: PingFangSC, PingFang SC;
  font-weight: 600;
  color: #000000;
  line-height: 16px;
}

.box_8a {
  background-color: rgba(255, 255, 255, 1);
  width: 14px;
  height: 14px;
  margin-right: 3px;
  margin-top: -8px;
}

.text-group_4a {
  width: 378px;
  height: 20px;
  overflow-wrap: break-word;
  color: rgba(153, 153, 153, 1);
  font-size: 14px;
  font-family: PingFangSC-Regular;
  font-weight: normal;
  text-align: left;
  white-space: nowrap;
  line-height: 20px;
  background: transparent !important;
}

.text-wrapper_14a {
  background-color: rgba(216, 29, 6, 1);
  border-radius: 4px;
  height: 48px;
  width: 151px;
}

.image-text_4a {
  height: 10px;
  width: 299px;
}

[data-v-222a7025] .el-col-11 {
  width: 160px;
}
</style>